﻿using Perseus.WCF.REST.Contract.Service;
using Perseus.WCF.REST.Contract.Data;

namespace Perseus.WCF.REST.Service
{
    public class HelloService : IHelloService
    {
    
        public EmpData HelloXml(string name, string age)
        {
            EmpData emp = new EmpData
            {
                Name = name,
                Age = age
            };

            return emp;
        }
     

        public EmpData HelloJson(string name, string age)
        {
            EmpData emp = new EmpData
            {
                Name = name,
                Age = age
            };

            return emp;
        }
    }
}
